# 预发布环境与正式环境用dockerFile

# springboot base image

FROM registry.cn-huhehaote.aliyuncs.com/goyoung/springboot_base:1.0.0

MAINTAINER spring_boot <bill.zhaoby@gmail.com>
LABEL Description="This image is the spring-boot images."  Version="2.1"

ARG JAR_FILE
ADD ${JAR_FILE} app.jar

ENTRYPOINT ["java","-Djava.security.egd=file:/dev/./urandom","-jar","/app.jar"]